from django.contrib.auth.decorators import login_required

from django.utils.decorators import method_decorator
from django.views.generic import TemplateView


@method_decorator(login_required, name='get')
class SystemView(TemplateView):
    """首页"""

    template_name = 'index.html'
